package com.wu.pojo.reqeust.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class AddOrUpdateResourceRequest implements Serializable {

    private static final long serialVersionUID = -2400209242954228522L;

    @ApiModelProperty(value = "资源id")
    private Long resourceId;

    @ApiModelProperty(value = "资源名称")
    @NotBlank(message = "资源名称为空")
    private String resourceName;

    @ApiModelProperty(value = "父级code")
    private String parentCode;

}
